package assist.datastore.dao.exception;

import java.util.Set;
import java.util.TreeSet;


public class MultiplePlayersFoundException extends Exception
{
    private static final long serialVersionUID = 1L;
    private Set<Long> playerIds = new TreeSet<Long>();
    private String name;
    
    public MultiplePlayersFoundException(String name, Set<Long> playerIds)
    {
        this.playerIds = playerIds;
        this.name = name;
    }
    public  Set<Long> getPlayerIds()
    {
        return this.playerIds;
    }

    /**
     * @return the name
     */
    public String getName()
    {
        return name;
    }
}
